//
//  MyTableViewCell.m
//  UI_HLJ_Frame
//
//  Created by dlios on 15-6-30.
//  Copyright (c) 2015年 毕宏伟. All rights reserved.
//

#import "MyTableViewCell.h"

@implementation MyTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        
        self.ImageView = [[UIImageView alloc] init];
//        self.ImageView.backgroundColor = [UIColor orangeColor];
        [self.contentView addSubview:self.ImageView];
        [_ImageView release];
        
        self.label = [[UILabel alloc] init];
//        self.label.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:self.label];
        [_label release];
        
        
        
    }
    return self;
}

- (void)layoutSubviews{
    
    [super layoutSubviews];
    
    self.ImageView.frame = CGRectMake(10, 5, 40, 40);
    
    self.label.frame = CGRectMake(55, 10, 100, 30);
    
       
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
